<script setup lang="ts">

</script>

<template>
    <router-view />
    <div class="center-main-bottom">
        <div class="center-main-img">
            <div>
                <RouterLink to="/home/detection">
                    <img v-if="$route.name == '智能检测'" src="../assets/icon/智能检测.png" />
                    <img v-else src="../assets/icon/智能检测 Normal.png" />
                </RouterLink>
            </div>
            <div>
                <RouterLink to="/home/gatajob">
                    <img v-if="$route.name == '就业态势'" src="../assets/icon/就业态势.png" />
                    <img v-else src="../assets/icon/就业态势 Normal.png" />
                </RouterLink>
            </div>
            <div>
                <RouterLink to="/home/security">
                    <img v-if="$route.name == '安防管理'" src="../assets/icon/安防管理.png" />
                    <img v-else src="../assets/icon/安防管理 Normal.png" />
                </RouterLink>
            </div>
            <div>
                <RouterLink to="/home/operation">
                    <img v-if="$route.name == '运营管理'" src="../assets/icon/设备运维.png" />
                    <img v-else src="../assets/icon/设备运维 Normal.png" />
                </RouterLink>
            </div>
        </div>
    </div>
</template>


<style scoped>
.center-main-bottom {
    width: 100%;
    height: 100px;
    position: absolute;
    text-align: center;
    bottom: 0;
    z-index: 10000;

    .center-main-img {
        width: 50%;
        height: 100px;
        margin: 0 auto;
        background: url('../assets/images/bottom.png') no-repeat;
        background-size: 100% 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
            width: 80px;
            height: 80px;
        }
    }
}
</style>